import request from '@/utils/request'
//流程节点信息接口
export function flowDefinitionNodeQuery(data) { //分页列表
    return request({
        method: 'get',
        url: '/flowDefinitionNode/query',
        params: data
    })
}

export function flowDefinitionNodeQueryById(id) { //查询
    return request({
        method: 'get',
        url: '/flowDefinitionNode/query/' + id,
    })
}

export function flowDefinitionNodeAdd(data) { //添加
    return request({
        method: 'post',
        url: '/flowDefinitionNode/add',
        data
    })
}

export function flowDefinitionNodeDelete(id) { //删除
    return request({
        method: 'get',
        url: '/flowDefinitionNode/delete/' + id,
    })
}

export function flowDefinitionNodeUpdate(data) { //修改
    return request({
        method: 'post',
        url: '/flowDefinitionNode/update',
        data
    })
}